import {
  handleWeChatLogin,
  handleWeChatStatus,
  handleWeChatCallbackRoute,
  handleWeChatUserInfo,
  handleWeChatLogout
} from "./wechat-routes";

// 微信认证相关路由
export const wechatRoutes = {
  "/api/auth/wechat/login": {
    POST: handleWeChatLogin
  },
  "/api/auth/wechat/status": {
    GET: handleWeChatStatus
  },
  "/api/auth/wechat/callback": {
    GET: handleWeChatCallbackRoute
  },
  "/api/auth/wechat/user": {
    GET: handleWeChatUserInfo
  },
  "/api/auth/wechat/logout": {
    POST: handleWeChatLogout
  }
};
